/**
 * 按钮权限控制
 * eg: v-selfBtn="1234567"
 * '1234567' 为行数据的创建人Id
 */

import selfBtn2 from './selfBtn2.js'
const install = function(Vue) {
  Vue.directive('selfBtn2', selfBtn2)
}

if (window.Vue) {
  window['selfBtn2'] = selfBtn2
  Vue.use(install); // eslint-disable-line
}

selfBtn2.install = install
export default selfBtn2
